package cn.tedu.tea.service;

import cn.tedu.tea.domain.param.OrderGoodsAddNewDTO;
import cn.tedu.tea.domain.param.OrderGoodsUpdateDTO;
import cn.tedu.tea.domain.vo.OrderGoodsListVO;
import cn.tedu.tea.domain.vo.OrderGoodsStandardVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IOrderGoodsService {

    String STATUS_TEXT[] = {"显示", "隐藏"};

    void addNew(OrderGoodsAddNewDTO orderGoodsAddNewDTO);

    void deleteById(Integer id);

    void deleteByIds(Integer[] ids);

    void updateInfoById(OrderGoodsUpdateDTO orderGoodsUpdateDTO);

    OrderGoodsStandardVO getStandardById(Integer id);

    List<OrderGoodsListVO> list();

}
